package main.model.hexisland.location;

/**
 * Created with IntelliJ IDEA.
 * User: gabe
 * Date: 21/06/13
 * Time: 20:04
 * To change this template use File | Settings | File Templates.
 */
public class SubHexLocationPath extends SubHexLocation {

    private SubHexLocationPath stepFrom;

    public SubHexLocationPath(SubHexLocationPath stepFrom, int q, int r, int sector) {
        super(q, r, sector);
        this.stepFrom = stepFrom;
    }

    public SubHexLocationPath(SubHexLocationPath stepFrom, SubHexLocation currentStep) {
        super(currentStep);
        this.stepFrom = stepFrom;
    }

    public SubHexLocationPath getStepFrom() {
        return stepFrom;
    }

}
